'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	// let res = await db.collection('users').get()
	// let res = await db.collection('users').count()
	let res = await db.collection('users').add([
		{
			name: '小明',
			gender: '男',
			address: '山东济南'
		},
		{name: '科比'},
		{name: '麦迪'}
	])
	return res
};
